<template>
  <div class="view-people">
    <el-form :model="peopleForm" @submit.native.prevent>
      <el-form-item label="库房名称：">{{peopleForm.name}}</el-form-item>
      <el-form-item label="库房位置：">{{peopleForm.address}}</el-form-item>
      <el-form-item label="详细地址："  >{{peopleForm.provinceName + peopleForm.cityName + peopleForm.districtName }}</el-form-item>
    </el-form>
    <div class='configstore'>
        <span >附加属性：</span>
        <p v-for="(item, index) in listConfig" :key="index">{{item.config_type}}    {{item.config_name}}</p>
    </div>
    
  </div>
</template>

<script>
  import Config from '../../../../config'
  export default {
    name: 'ViewSub',
    props: {
      peopleForm: {
        type: Object,
      },
      listConfig: {
        type: Array,
      }
    },
    data () {
      return {
        isShow: false
      }
    },
    mounted () {
      this.isShow = true
    },
    methods: {
    }
  }
</script>

<style lang="scss" scoped>
  .configstore{
    width: 100%;
    display: inline-block;
    span{
      width: 82px;
      line-height: 40px;
      display: inline-block;
      float: left;
    }
    p{
      line-height: 40px;
      padding-left: 82px;
    }
     
  }
</style>
